﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.UI.Bovespa.ManutencaoOrdens.Communication.Translator.ModelToDataContract
{
    public class ConsultaAssessor
    {
        public Bovespa.Movimento.ConsultaAssessor.FiltroConsultaAssessorRequest ToFiltroAssessor(Model.Parameter.FiltroConsultaAssessor from)
        {
            Bovespa.Movimento.ConsultaAssessor.FiltroConsultaAssessorRequest to = null;

            if (from != null)
            {
                to = new Bovespa.Movimento.ConsultaAssessor.FiltroConsultaAssessorRequest();

                to.CodigoAssessor = from.Codigo;
            }

            return to;
        }
    }
}
